For stress calculations, some standards use the "wall thickness analysis". We get the wall thickness by subtracting corrosion, abrasion allowance, manufacturing allowances (threading, grooving, and so on), and mill tolerances from the nominal wall thickness. All necessary values can be entered in the "Piping Cross‑Section" dialog box, "Stress Analysis Parameters" tab.